package com.zhang.learn.spring.springplugin;

import lombok.Data;

/**
 * @author zhanghaolian
 * @date 2021/6/7 0:17
 */
@Data
public class MobileCustomer {
    /***
     * 电话号码
     */
    private String tel;
    //setter getter
    /***
     * 是否老用户
     */
    private boolean old=false;

    public MobileCustomer() {
    }

    public MobileCustomer(String tel) {
        this.tel = tel;
    }

    public MobileCustomer(String tel, boolean old) {
        this.tel = tel;
        this.old = old;
    }
}
